package com.peaksport.framework.extend.jackson;

import org.apache.servicecomb.common.rest.codec.RestObjectMapperFactory;

import com.peaksport.framework.extend.servicecomb.PKRestObjectMapper;

/**
 * 配置Json序列化
 * @author jinbin_guo  2019年4月23日 下午4:28:32
 *
 */
//@Configuration
@Deprecated //重构到PKServiceCombConfiguration类型中，2019-06-05,3个月后可删除
public class PKJacksonConfiguration {
	
	//@PostConstruct
	public void init() {
		//重新配置JSON 序列化
	//	RestObjectMapperFactory.setConsumerWriterMapper(new PKRestObjectMapper());
	//	RestObjectMapperFactory.setDefaultRestObjectMapper(new PKRestObjectMapper());
	}
}
